<template>
  <el-card class="box-card">
    <!-- 标题 -->
    <div slot="header" class="clearfix">
      <!-- 预留一个插槽 将来插入标题 -->
      <slot name="title" />
    </div>

    <!-- 内容 -->
    <slot name="content" />
  </el-card>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.el-card {
  border-radius: 10px !important;
  border: 1px solid #f9f9f9;
  /deep/.el-card__header {
    font-weight: bold !important;
    color: #666 !important;
    background-color: #f9f9f9 !important;
  }
  /deep/ .el-card__body {
    color: #666 !important;
  }
}
</style>
